convert list of string to dictionary

107

convert list of string to dictionary -

var res = list.ToDictionary(x => x, x => x);

Comments

Submit
0 Comments